package com.pliu.config;

import com.pliu.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName BoundSql
 * @Description sql转换类
 * @Author pliu
 * @Date 2020/6/21 19:16
 * @Version 1.0
 **/
public class BoundSql {

    private String sqlText;

    private List<ParameterMapping> parameterMappings = new ArrayList<>();

    public BoundSql(String sqlText) {
        this.sqlText = sqlText;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void setParameterMappings(List<ParameterMapping> parameterMappings) {
        this.parameterMappings = parameterMappings;
    }
}
